#include<stdio.h>

void print3()
{
  printf("print3\n");
}

void print2()
{
  printf("print2\n");
  print3();
}

void print1()
{
  printf("print1\n");
  print2();
}



int addToTop(int n)
{
  int sum = 0;
  for(int i = 0;i<=n;i++)
  {
    sum +=i;
  }
  return sum;
}


int main()
{
    int a = 10;
    int b = 20;
    int c= 0;
    c = a;
    a = b;
    b = c;


    int sum = addToTop(100);
    printf("%d\n",sum);
    return 0;
}
